package cn.bugstack.mybatis.test.dao;

import cn.bugstack.mybatis.test.po.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ITeacherDao {

    @Select("SELECT id, name\n" +
            "        FROM teacher\n" +
            "        where id = #{id}")
    String queryTeacherInfo(int id);

}
